body, html { height: 100% }
body {	/*background: url(../images/bg.jpg);*/
background: linear-gradient(0deg, #3a485a 0%, #607089 100%); }
.user-login { position: relative; left: 0; top: 0; padding: 160px 0 0; min-height: 100%; box-sizing: border-box; }
.user-login-main { width: 360px; margin: 0 auto; box-sizing: border-box; background: #ccc; background-color: rgba(248, 248, 255, 0.2); border-radius: 3px; }
.user-login-header { text-align: center; padding-top: 20px; }
.user-login-header h2 {font-weight: 300; font-size: 25px; color: #fff; font-weight: bold; }
.user-login-header p { font-weight: 300; color: #eee; }
.user-login-box { padding: 20px 20px 10px; }
.user-login-icon { position: absolute; left: 1px; top: 1px; width: 38px; line-height: 32px; text-align: center; color: #d2d2d2; }
.user-login-box .layui-form-item { position: relative; }
.user-login-box .layui-form-item .layui-input { padding-left: 38px }
.user-login-box .layui-form-item .layui-btn:hover { opacity: 1; }
.user-login-codeimg { height: 34px; width: 100%; cursor: pointer; box-sizing: border-box; }
.user-login-footer { position: absolute; left: 0; bottom: 0; width: 100%; line-height: 1.5; padding: 20px; text-align: center; box-sizing: border-box; color: rgba(0, 0, 0, .5); }
.user-login-footer span { padding: 0 5px; }
.user-login-footer a { color: #fff; opacity: .5; vertical-align: middle; }
.user-login-footer a:hover { opacity: 1; }
.link-anim { transition: 0.52s; position: relative; overflow: hidden; }
.anim { transform: translateY(-50%) translateX(-50%); position: absolute; top: 50%; left: 50%; }
.anim:before { position: relative; content: ''; display: block; margin-top: 100%; }
.anim:after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 50%; }
.link-anim:hover .anim { animation: anim-out 0.75s; }
.link-anim:hover .anim:after { animation: anim-out-pseudo 0.75s; }
@keyframes anim-out-pseudo {
	0% { background: rgba(0, 0, 0, 0.25); }
	100% { background: transparent; }
}
@keyframes anim-out {
	0% { width: 0%; }
	100% { width: 100%; }
}
@media screen and (max-width:768px) {
	.user-login { padding-top: 60px; }
	.user-login-main { width: 300px; }
	.user-login-box { padding: 10px; }
}
@media \0screen\, screen\9 {

	/* 只支持IE6、7、8 */
	.user-login-header h2 { color: #000; }
	.user-login-header p { color: #999; }
}
